import Vue from 'vue'
import Router from 'vue-router'
import help from '../page/managePage/help.vue'
import findcfgmap from '../page/managePage/find-cfgMap.vue'
import addcfgmap from '../page/managePage/add-cfgMap.vue'
import editcfgmap from '../page/managePage/edit-cfgMap.vue'
import cfgTree from '../page/managePage/cfgTree.vue'
import appInfo from '../page/managePage/appInfo.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'help',
      default:true,
      component: help
    },
    {
      path: '/findcfgMap',
      name: 'findcfgmap',
      component: findcfgmap
    },
    {
      path: '/addcfgMap',
      name: 'addcfgmap',
      component: addcfgmap
    },
    {
      path: '/editcfgmap',
      name: 'editcfgMap',
      component: editcfgmap
    },
    {
      path: '/cfgTree',
      name: 'cfgTree',
      component: cfgTree
    },
    {
      path: '/appInfo',
      name: 'appInfo',
      component: appInfo
    }
  ]
})
